package com.peaksport.pkms.learntest.service;

import java.util.Date;

import com.peaksport.framework.extend.schedule.PKCornScheduleRunnable;
import com.peaksport.framework.extend.spring.PKApplicationContext;
import com.peaksport.framework.util.PKPublicUtils;

public class TestScheduleRunnable extends PKCornScheduleRunnable {

	@Override
	public void doRun() throws Exception {
		System.out.println("============"+ PKPublicUtils.SDF_YYYYMMDD_HHMMSS.format(new Date()) +"============");
		System.out.println(PKApplicationContext.getMicroService());
		System.out.println(PKApplicationContext.getHostIP());
		System.out.println(PKApplicationContext.getPort());
		System.out.println("========================");
		
	}

}
